class Participations {
    Employee participant
    Schedule schedule

    // attributes for participants
    String bankAccount = null //
    String faculty = null //
    String department = null
    String division = null
    String billingAdress = null //
    String lukasId = null //
    

    static constraints = {
        billingAdress(nullable:true,matches:"[a-öA-Ö0-9 ]+")
        lukasId(nullable:true,matches:"[a-öA-Ö0-9 ]+")
        department(nullable:true,matches:"[a-öA-Ö0-9 ]+")
        division(nullable:true,matches:"[a-öA-Ö0-9 ]+")
        bankAccount(nullable:true)
        faculty(nullable:true,matches:"[a-öA-Ö0-9 ]+")
    }
}
